package com.hfkh.keyun.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ApiModel("课程管理类")
public class CourseVO implements Serializable {
    @ApiModelProperty("课程编号")
    private Integer id;
    @ApiModelProperty("课程名称")
    private String courseName;//课程名称
    @ApiModelProperty("课程描述")
    private String courseDesc;//课程描述
    @ApiModelProperty("课程价格")
    private Double coursePrice;//课程价格
    @TableField(exist = false)
    @ApiModelProperty("上传文件编号")
    private MultipartFile file;
    @ApiModelProperty("观看次数")
    private Integer visitCount;//观看次数
    @ApiModelProperty("课程详情")
    private String courseDetail;//课程详情
    @ApiModelProperty("所属单元ID")
    private Integer unitId;//所属单元ID
    @ApiModelProperty("所属课程专业iID")
    private Integer majorId;//课程专业ID
}
